<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="dictGroupList" checkbox="false" fitColumns="true" title="实验中心列表" actionUrl="labOccupationController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="创建日期"  field="createDate" formatter="yyyy-MM-dd" hidden="true" query="false"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="实验室"  field="lab.name"   query="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="实验室"  field="lab.id" hidden="true"  query="true" queryMode="single" replace="${labNames }"  width="120"></t:dgCol>
   <t:dgCol title="占用日期" field="occupationDate"  formatter="yyyy-MM-dd" query="true" queryMode="single" dateQuery="true" dateQueryPattern="yyyy-MM-dd"  width="120"></t:dgCol>
   <t:dgCol title="占用时段"  field="occupationStart"   query="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="占用作为"  field="occupationEnd"   query="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="labOccupationController.do?doDel&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="labOccupationController.do?goAdd" funname="add" height="380" width="500"></t:dgToolBar>
   </t:datagrid>
  </div>
 </div>